﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:Microsoft.Samples.Kinect.WpfViewers;assembly=Microsoft.Samples.Kinect.WpfViewers" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="videoTest.armControll"
        Title="armControll" Height="900" Width="1440" Loaded="Window_Loaded" Closing="Window_Closing_1" >
    <Grid>

        <Canvas Margin="230,170,659,297" x:Name="MainCanvas" Background="#00000000" Grid.ColumnSpan="2">
            <Ellipse Canvas.Left="0" Canvas.Top="0" Fill="Orange" Height="50" x:Name="headEllipse" Stroke="Black" Width="50" />
            <Ellipse Canvas.Left="50" Canvas.Top="0" Height="50" x:Name="rightEllipse" Stroke="Black" Width="50" />
            <Ellipse Canvas.Left="100" Canvas.Top="0" Fill="#FF00FF24" Height="50" x:Name="leftEllipse" Stroke="Black" Width="50" />
            <my:KinectSensorChooser x:Name="kinectSensorChooser1" Width="328" Canvas.Left="122" Canvas.Top="103" />
            <!--<Image Height="365" Name="video" Stretch="Fill" Width="628" Canvas.Left="6" Canvas.Top="16" Source="http://192.168.1.112:8080/shot.jpg "/>-->
        </Canvas>

        <TextBlock Height="38" HorizontalAlignment="Left" Margin="327,564,0,0" x:Name="leftText" Text="Left Hand Data" VerticalAlignment="Top" Width="102" d:LayoutOverrides="GridBox" />
        <TextBlock Height="45" HorizontalAlignment="Left" Margin="536,0,0,252" x:Name="rightText" Text="Right Hand Data" VerticalAlignment="Bottom" Width="100" FontSize="12" d:LayoutOverrides="GridBox" />
        <Button Content="Car Control" x:Name="carControl" HorizontalAlignment="Left" Height="55" Margin="12,358,0,0" VerticalAlignment="Top" Width="111" Click="carControl_Click" />

    </Grid>
</Window>
